package cn.dogeye.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author watson
 * @since 2021-12-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_auth")
public class SysAuth implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 系统权限Id
     */
    @TableId(value = "sys_auth_id", type = IdType.AUTO)
    private Integer sysAuthId;

    /**
     * 系统权限名称
     */
    private String sysAuthName;
    /**
     * 系统权限别名
     */
    private String sysAuthAlias;
    /**
     * 系统权限描述
     */
    private String sysAuthDesc;

    @TableField(exist = false)
    private List<SysUser> sysUsers;

}
